package com.wtwd.campus.service;

import com.wtwd.campus.entity.Information;
import com.wtwd.campus.entity.InformationVO;
import com.wtwd.campus.entity.Notification;

import java.util.List;
import java.util.Map;

public interface InformationService {
    Map<String,Object> getInformationListByCondition(InformationVO data);

    int addInformation(Information data);

    List<Notification> getNotificationListByCondition(Notification data);

    Information getInformationById(Integer id);

    Long getBiggestTimeBySchoolId(Integer schoolId);

    List<Information> getInformationByTimeAndSchoolId(Integer schoolId,Long time,Integer count);


}
